package com.framework.service.app.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.dao.app.AppDiscoverCoverDao;
import com.framework.entity.or.AppDiscoverCover;
import com.framework.service.app.AppDiscoverCoverService;
import org.springframework.stereotype.Service;

/**
 * @author wq
 */
@Service("appDiscoverCoverService")
public class AppDiscoverCoverServiceImpl extends ServiceImpl<AppDiscoverCoverDao,AppDiscoverCover> implements AppDiscoverCoverService {
    @Override
    public void updateCoverById(String url, Integer id) {
        AppDiscoverCover appDiscoverCover=selectById(id);
        appDiscoverCover.setImgUrl(url);
        updateById(appDiscoverCover);
    }
}
